package com.wxj.book.service.impl;

import com.wxj.book.dao.UserVoMapper;
import com.wxj.book.service.UserVoService;
import com.wxj.book.vo.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserVoServiceImpl implements UserVoService {
    @Autowired
    private UserVoMapper userVoMapper;

    /**
     * 查询用户基本信息
     * @param stuNum
     * @return
     */
    @Override
    public UserVo getByStuNum(Integer stuNum) {
        return userVoMapper.getByStuNum(stuNum);
    }
}
